package net.mysgame.czfun.utils;

import org.apache.shiro.crypto.hash.Md5Hash;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * Created by manatea on 2016/6/2.
 */
public class ShiroUtils {
    private static Logger LOGGER = LoggerFactory.getLogger(ShiroUtils.class);

    public static String encodeToHex(String object){
        return new Md5Hash(object).toHex();
    }

}
